﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PrismMetroSample.Shell.Aop;

namespace PrismMetroSample.Shell
{
    public class DoWork : IDoWork
    {
        [DmoLogCallHandler]
        public string Display()
        {
            return "done";
        }

        public bool Do(string work)
        {
            Console.WriteLine(work);
            return true;
        }

        [DmoLogCallHandler]
        public virtual bool DoVirtual(string work="123")
        {
            Console.WriteLine(work);
            return true;
        }
    }
}
